package com.service.lotterySystem.service;

import com.service.config.utils.Result;
import com.service.lotterySystem.dto.SmsCode;
import com.service.lotterySystem.dto.UserInfoDto;

/**
 * @author ：hjl
 * @date ：Created in 2022/01/11 17:21
 * @description：
 */
public interface UserInfoService {
    /**
     * 查询用户基本信息
     * @param uid
     * @return
     */
    Result queryUserById(String uid);

    /**
     * 查询用户详细信息
     * @param uid
     * @return
     */
    Result queryUserDetail(String uid);

    Result update(UserInfoDto userInfoDto);

    Result sendSms(SmsCode smsCode) throws Exception;

    Result queryByPhone(SmsCode smsCode,String shareId,String uScanTime) throws Exception;
}
